<?php
  
  $filenameProperty = re::getAttributeValue("filename", $e->outertext);   
  //echo $filenameProperty;
  
  $csvField = csv::getCsvColumn($filenameProperty);
  
  //print_r($csvField);
  
  //echo $html;
  
  for ($n=0; $n<sizeof($csvField); $n++) {
      
      $html = str_ireplace('['.$csvField[$n].']', '<?php echo $value["'.$csvField[$n].'"];?>', $html);     
  }
  
   // echo $html;   
   
  
  //$html = code_data::replaceDataField($html, $sql, "_$idProperty");
  //$html = code_data::replaceDataField($html, $sql, "_".$this->queryCounter);
  //$html = code_data::replaceDataField($html, $sql, $e->data_var);
  
  //::replaceDataField($html)
 
 // data_var setzen (wird verwendet von select objekt)
//  $e->data_var = $this->queryCounter;
  
  
  $e->filename = null;
  
  
?>
